import datetime

import pytest

from commons.session import RequestsSession

@pytest.fixture(scope="session")
def session():
    return RequestsSession('http://localhost:8234/api')

def pytest_configure():
    print(datetime.datetime.now(),'pytest开始运行了')

def pytest_unconfigure(config):
    print(datetime.datetime.now(),'pytest运行结束了')